/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package B3D_Elements.B3D_Filters.B3D_Shadows;

import B3D_Elements.B3D_Filters.B3D_Filter;
import java.io.Serializable;

/**
 *
 * @author David
 */
public class B3D_Shadow extends B3D_Filter implements Serializable
{

    private float intensity;
    private int shadowMapSize, edgeThickness;
    private boolean flushQueues;
    private EdgeFilteringMode edgeFilteringMode;

    public enum EdgeFilteringMode
    {

        Nearest,
        Bilinear,
        Dither,
        PCF4,
        PCFPOISSON,
        PCF8
    }

    public int getShadowMapSize()
    {
        return shadowMapSize;
    }

    public void setShadowMapSize(int shadowMapSize)
    {
        this.shadowMapSize = shadowMapSize;
    }

    public int getEdgeThickness()
    {
        return edgeThickness;
    }

    public void setEdgeThickness(int edgeThickness)
    {
        this.edgeThickness = edgeThickness;
    }

    public boolean isFlushQueues()
    {
        return flushQueues;
    }

    public void setFlushQueues(boolean flushQueues)
    {
        this.flushQueues = flushQueues;
    }

    public EdgeFilteringMode getEdgeFilteringMode()
    {
        return edgeFilteringMode;
    }

    public void setEdgeFilteringMode(EdgeFilteringMode edgeFilteringMode)
    {
        this.edgeFilteringMode = edgeFilteringMode;
    }

    public float getIntensity()
    {
        return intensity;
    }

    public void setIntensity(float intensity)
    {
        this.intensity = intensity;
    }
}
